#include <iostream>
using namespace std;

int getLarger(int a, const int *b) {
    return a > *b ? a : *b;
}

int main() {
    const int b = 2;
    int c = getLarger(1, &b);
    cout << "较大的数为：" << c << endl; // 2
    return 0;
}